package com.intellagric.service.traceability.trace_record;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.CheckRecordVo;
import com.intellagric.pojo.TraceRecordCheck;

/**
 * @Author: wl
 * @email: 844406720@qq.com
 * @Date: 2018/11/09
 * @DESC： 检查记录服务接口
 */
public interface CheckRecordService {

    //增加检查记录
    ResponseMessage addCheckRecord(TraceRecordCheck traceRecordCheck);

    //删除检查记录
    ResponseMessage deleteCheckRecord(String id);

    //修改检查记录
    ResponseMessage editCheckRecord(TraceRecordCheck traceRecordCheck);

    //查询检查记录
    TraceRecordCheck getCheckRecordById(String id);
    LayuiDataGridResult getCheckRecordList();
    LayuiDataGridResult getCheckRecordPage(int page, int rows);
    LayuiDataGridResult getCheckRecordPageByVo(int page, int rows, CheckRecordVo checkRecordVo);


}
